<template>
  <div>
    <Header></Header>
    <router-view></router-view>
    <Footer v-show="$route.meta.show"></Footer>
  </div>
</template>

<script>
import Header from './components/Header/MyHeader.vue'
import Footer from './components/Footer/MyFooter.vue'

export default {
  name: 'App',
  components: {
    Header,
    Footer
  },
  mounted(){
         this.$store.dispatch('categoryList');
    }
}
</script>

<style>

</style>
